package data.join.com.media.VideoModule;

import android.content.Context;

import data.join.com.database.bean.VideoBean;


/**
 * Created by Administrator on 2016/5/11.
 */
public abstract class VideoModule {
    public final static int VIDEO_CAMERA_UNKNOWN = 0;
    public final static int VIDEO_CAMERA_FRONT = 1;
    public final static int VIDEO_CAMERA_BACK = 2;

    public final static int VIDEO_TYPE_RECYCLE = 0;
    public final static int VIDEO_TYPE_LOCK = 1;
    public final static int VIDEO_TYPE_USER= 2;

    protected Context mContext;
    public VideoModule(Context c){
        mContext = c;
    }
    abstract public Integer getVideoType(VideoBean video);
    abstract public Integer getVideoBackOrFront(VideoBean video);
    abstract public Long getVideoStartTime(VideoBean video);
    abstract public Long getVideoEndTime(VideoBean video);
}
